﻿//using SettingsManagement.Localization;
//using Volo.Abp.Authorization.Permissions;
//using Volo.Abp.Localization;

//namespace SettingsManagement;

//public class SettingsManagementPermissionDefinitionProvider : PermissionDefinitionProvider
//{
//    public override void Define(IPermissionDefinitionContext context)
//    {
//        var moduleGroup = context.AddGroup(SettingsManagementPermissions.GroupName, L("Permission:SettingManagement"));

//        moduleGroup
//            .AddPermission(SettingsManagementPermissions.Emailing, L("Permission:Emailing"))
//            .StateCheckers.Add(new AllowTenantsToChangeEmailSettingsFeatureSimpleStateChecker());
//    }

//    private static LocalizableString L(string name)
//    {
//        return LocalizableString.Create<SettingsManagementResource>(name);
//    }
//}
